package io_std

import (
	"clean/usecase"
	"net/http"
)

type Handler struct {
	app usecase.Input
}

func NewHandler(app usecase.Input) *Handler {
	r := &Handler{
		app: app,
	}
	return r
}

func (r *Handler) Init(e *http.ServeMux) {
	e.Handle("/hello/", http.HandlerFunc(r.Hello))
}
